package org.keyyond.ms.business.dao;


import org.keyyond.ms.business.mapper.MsBusinessParamMapper;
import org.keyyond.ms.business.model.MsBusinessParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author YCR
 * @belong to Shccs
 * @date:2018年1月19日
 * @date:2018年1月19日
 * @version : V1.0
 */
@Component
public class MsBusinessParamDao {
	
	@Autowired
	private MsBusinessParamMapper paramMapper;
	
	/**
	 * 通过code查询
	 * 
	 * @author YCR
	 * @since 2018-1-19
	 * @category </br>通过code查询</br>
	 *           
	 * @param code
	 *            | string | 必填 
	 * @return <b>MsBusinessParam </br>
	 * @exception 
	 */
	public MsBusinessParam selectByCode(String code){
		return paramMapper.selectByCode(code);
	}

}
